import com.qf.dao.UserDao;
import com.qf.entity.User;
import com.qf.utils.MyBatisUtils;
import org.junit.Test;

/**
 * @ClassName: test
 * @Description: TODO
 * @Create by: syq
 * @Date: 5/7/2022 下午8:36
 */


public class test1 {

    @Test
    public void testFindByUsername(){
        UserDao userDao = MyBatisUtils.getMapper(UserDao.class);
        User admin = userDao.findByUsername("admin");
        System.out.println(admin);
    }

    @Test
    public void equalsPwd(){
        System.out.println("63a9f0ea7bb98050796b649e85481845".equals("63a9f0ea7bb98050796b649e85481845"));
    }
}
